home *** CD-ROM | disk | FTP | other *** search
- /**
- GRAB Graph Layout and Browser System
-
- Copyright (c) 1986, 1988 Regents of the University of California
- Copyright (c) 1989, Tera Computer Company
- **/
-
- /* attribute.h -- node and edge attributes, C version */
-
- #ifndef attribute_h
- #define attribute_h
-
- #include <stdio.h>
-
- typedef char BOOL;
-
- #ifndef FALSE
- #define FALSE 0
- #endif
- #ifndef TRUE
- #define TRUE 1
- #endif
-
- typedef enum {RECTANGLE, CIRCLE, DIAMOND, OVAL, POINT, DOUBLE_BOX} SHAPE;
- typedef enum {SOLIDB, BSOLIDB, DOTTEDB, BDOTTEDB, DASHEDB, BDASHEDB} BRUSH;
- typedef enum {BLACK, GRAY, WHITE} COLOR;
- typedef enum {NORMAL, DUMMY} STATUS;
-
- #define DEFAULT_SHAPE RECTANGLE
- #define DEFAULT_BRUSH SOLIDB
- #define DEFAULT_COLOR BLACK
- #define DEFAULT_STATUS NORMAL
-
- #endif
-